import logging

from apps.diagnose.models import Diagnose
from op_drf.dj_utils import create_by_serializer
from op_drf.serializers import CustomModelSerializer, BaseSerializer
from rest_framework import serializers

class ReadDiagnoseSerializer(BaseSerializer):

    class Meta:
        model = Diagnose
        fields = "__all__"
        # fields = ["id","name","is_active","url_address"]


class WriteDiagnoseSerializer(BaseSerializer):

    class Meta:
        model = Diagnose
        fields = "__all__"
        # fields = ["id","name","is_active"]